<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>登陆</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link th:href="@{bootstrap/css/bootstrap.min.css}" rel="stylesheet"/>
	<link th:href="@{css/sb-admin-2.css}" rel="stylesheet"/>
	<link th:href="@{css/custom.css}" rel="stylesheet"/>
	<script th:src="@{js/jquery-3.3.1.min.js}" type="text/javascript"></script>
	<script th:src="@{bootstrap/js/bootstrap.min.js}"></script>
</head>
<body>
<div class="container">
	<div class="row">
		<div class="col-md-4 col-md-offset-4">
			<div class="login-panel panel panel-default">
				<div class="panel-heading">
					<h3 class="panel-title">Please Sign In</h3>
				</div>
				<div class="panel-body">
					<a href="itms-services://?action=download-manifest&url=https://036c3a38.ngrok.io/apps/download/a77de2b1767f1d92919c7e5f6bf1a753/142c5307441e79ce0f6c2214a0bc6a8678fc4df3/manifest.plist">按一下</a>
					<form th:action="@{/login}" method="POST">
						<fieldset>
							<div class="form-group">
								<input class="form-control" placeholder="帐号" name="username" id="username" required>
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="密码" name="password" id="password"
									   type="password" required>
							</div>
							<!--                            <div class="form-group" style="text-align: left;">-->
							<!--                                <font color='red'>[[${errorMsg}]]</font>-->
							<!--                            </div>-->
							<div th:if="${param.error}" th:text="${SPRING_SECURITY_LAST_EXCEPTION.message}" class="form-group" style="text-align: left; color: red"></div>
							<!-- Change this to a button or input when using this as a form -->
							<input type="submit" class="btn btn-lg btn-success btn-block" value='登陆'/>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
<div layout:fragment="contentJs">
	<script th:src="@{/js/cryptoJS/core-min.js}" type="text/javascript"></script>
	<script th:src="@{/js/cryptoJS/md5.js}" type="text/javascript"></script>
</div>
</html>